/* 文本格式化 */
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei';
}
ul{
    margin:0;
    padding: 0;
    list-style: none;
}
a{
    color:inherit;
    text-decoration: none;
}
p{
    margin: 0;
}
h1,h2,h3,h4,h5,h6{
    margin:0;
}
.header,.body,.footer{
    width: 100%;
    min-width: 1200px;
}
.container{

}
/* 头部 */
.header{
    height: 382px;
}
.h_pic{
    height: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#top_up_left{
    margin-left: 148px;
}

.h_top_up{
    width: 100%;
    height: 34px;
    border-bottom: 1px solid #f2f2f2;
    background-color: #f9f9f9;
    position: relative;
    line-height: 34px;
    font-size: 12px;
}
.h_top_up_left{
    position: relative;
}

.custom-dropdown{
    position: relative;
    font-size: 12px;
}

/*使用了CSS的Grid布局来实现准确的7行5列布局---开始*/
.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
}
.address-grid {
    display: grid;/* 该元素使用网格布局 */
    grid-template-columns: repeat(5, 1fr);/* 指定网格的列数为 5，每列的宽度平均分配（1fr） */
    grid-template-rows: repeat(7, 1fr);/* 指定网格的行数为 7，每行的高度平均分配（1fr） */
    gap: 0px;/* 调整行和列之间的间距 */
    max-height: 224px;/* 设置下拉列表的最大高度为 224px，超出部分将出现滚动条。 */
    overflow-y: auto;/* 当内容高度超出容器高度时，显示垂直滚动条。 */
}
.address-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}
/*使用了CSS的Grid布局来实现准确的7行5列布局---结束*/

.h_top_up_left .el-dropdown-link{
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.h_top_up_left .el-dropdown-link p{
    margin-left: 2px;
}

.h_top_up_right{
    display: flex;
}
.welcome #login{
    color: red;
}
.h_top_up_right li{
    padding: 0 8px;
}
.welcome{
    margin: 0;
}

.el-select .el-input {
    width: 130px;
}
.input-with-select .el-input-group__prepend {
    background-color: #fff;
}
a{
    text-decoration: none;
    color: black;
}
a:hover{
    color: red;
}


.h_top_center {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
}
.login{
    display: inline-block;
    width: 330px;
    height: 100px;
}
.search{
    display: inline-block;
    width: 595px;
    height: 100px;
}

/*搜索框加粗变红*/
.input-with-select{
    border: 2px solid #ff2832;
    background-color: #fff;
    font-weight: bold;
    font-size: 12px;
}
.el-input__inner {
    border: 0;
}

element.style {
}
/*搜索图标*/
.el-input-group__append button.el-button{
    position: absolute;
    padding-right: 30px;
}
.el-input-group__append button.el-button{
    position: relative;
    width: 48px;
    height: 40px;
    border: none;
    background-color: red;
    color: white;
    font-size: 20px;
    border-radius: 0;
}
/* 搜索图标背景颜色填充满 */
.el-input-group__append .el-button, .el-input-group__append .el-select, .el-input-group__prepend .el-button, .el-input-group__prepend .el-select {
    display: inline-block;
    margin: -8px -27px;
    text-align: center;
}
/*搜索图标*/
.search_down {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #969696;
}

.search_down ul {
    display: flex;
}
.search_down ul li {
    margin-right: 8px;
}
.height_search {
    display: flex;
    margin-right: 10px;
}

/* 右侧购物车 */
.shopCat{
    display: inline-block;
    /*width: 295px;*/
    width: 236px;
    height: 100px;
    /*margin: 0;*/
    margin-left: 58px;
    padding: 0;
    text-align: center;
}

/* 购物车按钮 */
.el-button--danger.is-plain {
    color: #fff;
    background: #ff2832;
    border:2px solid #ff2832;
    border-radius: 0;
    height: 43.2px;
    width: 110px;
    position: absolute;
    padding: 0;
    margin-top: 15px;
}
/* 将购物车图标放大一点 */
.el-button--danger.is-plain .el-icon-shopping-cart-2 {
    font-size: 20px; /* 设置购物车图标的字体大小 */
    position: relative;
}
.el-button [class*=el-icon-]+span {
    position: relative;
    margin-left: 5px;
    margin-bottom: 10px;

}
/* 购物车按钮在鼠标悬停时将背景色改为白色 */
.el-button--danger.is-plain:hover {
    background-color: #fff;
    color: #ff2832;
    border:2px solid #dcdcdc;
    border-radius: 0;
}
/* 订单按钮 */
.shopCat .order {
    background-color: #fff;
    border:2px solid #dcdcdc;
    border-radius: 0;
    height: 43.2px;
    position: relative;
    margin-left: 109px;
    margin-top: 15px;
}
/* 订单按钮在鼠标悬停时将字体改为红色 */
.shopCat .order:hover {
    color: #ff2832;
    border:2px solid #dcdcdc;
    border-radius: 0;
}
/*  -----------------------------------------------------------------搜索框架部分结束,一级导航栏开始------------------------------------------------------------------------ */
.h-nav{
    width:100%;
    min-width: 1200px;
    height: 43px;
    border-bottom: 3px solid #FF2832;
    font-size: 14px;
    font-weight: bold;
}
.h-nav .h-nav-ul{
    width:1200px;
    margin:0 auto;
}
.h-nav-ul,.h-nav li{
    color:#323232;
    height: 40px;
}
.h-nav .all{
    padding-left: 21px;
    font-weight: bold;
    color:#fff;
    font-size: 16px;
    background-color: #FF2832;
    cursor: pointer;
}
.h-nav .all #all-category{
    color: white;
}

.h-nav-ul i{
    display: inline-block;
    padding-left: 42px;
    padding-right: 30px;
    font-weight: bold;
    font-size: 20px;
}
.h-nav li{
    display: inline-block;
    line-height: 43px;
    margin-right: 24px;
}
.h-nav li a:hover{
    color:#ff2832;
}
.h-nav .all a:hover{
    color:#fff;
}
/* -----------------------------------------------------------------身体================================================================================================ */






/* ==================================================================底部================================================================================================ */
.footer{
    border-top: 2px solid #ff2832;
    margin-top: 2000px;
    background-color: #fff;
    clear: both;
}
.footer-top{
    background-color: #fafafa;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    height: 79px;
}
.footer-top-pic{
    width: 770px;
    margin: 0 auto;
    height: 78px;
    padding: 5px 0 5px 30px;
}
.footer-top-pic a{
    display: block;
    height: 66px;
    width: 235px;
    float: left;
    padding: 7px 0 7px 48px;
}
.footer-top-pic span{
    text-indent: -9999px;
    display: block;
    width: 138px;
    height: 52px;
    background: url(http://img61.ddimg.cn/upload_img/00660/home/footer_bg.png) 0 0 no-repeat;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}
.footer-top-pic a:nth-child(2) span{
    background-position: 0 -103px;
}
.footer-top-pic a:nth-child(3) span{
    background-position: 0 -156px;
}
.footer-body{
    width: 920px;
    height: 170px;
    margin: 0 auto;
    padding-top: 30px;
}
.footer-body .footer-sort{
    width: 154px;
    float: left;
    text-align: center;
    margin-left: 0;
}
.footer-body .footer-sort:last-child{
    width:150px;
}
.footer-body .footer-sort span{
    display: block;
    padding-left: 30px;
    font-size: 14px;
    font-family: "microsoft yahei";
    color: #323232;
    height: 36px;
    line-height: 36px;
}
.footer-body .footer-sort ul{
    padding-left: 30px;
    list-style: none;
    margin: 0;
}
.footer-body .footer-sort li{
    line-height: 20px;
    height: 20px;
}
.footer-body .footer-sort li a{
    text-decoration: none;
    color: #7d7d7d;
    font-size: 12px;
}
.footer-body .footer-sort a:hover{
    color:#ff2832;
    text-decoration: underline;
}
.footer-bottom{
    color: #8c8c8c;
    font-size: 12px;
    text-decoration: none;
    padding:17px 0  50px;
}
.footer-bottom .nav{
    text-align: center;
    line-height: 20px;
    padding-bottom: 17px;
}
.footer-bottom .nav a{
    color: #8c8c8c;
    font-size: 12px;
    text-decoration: none;
}
.footer-bottom .nav span{
    margin: 0 17px 0 19px;
}
.footer-bottom .nav a:hover{
    color:#ff2832;
    text-decoration: underline;
}
.footer-bottom .copyright{
    line-height: 20px;
    text-align: center;
    width: 960px;
    margin: 0 auto;
    padding: 10px 0 0 0;
}
.footer-bottom .copyright span{
    display: inline-block;
    float: none;
}
.footer-bottom .information{
    padding: 6px 0 0 0;
    line-height: 20px;
    text-align: center;
    width: 960px;
    margin: 0 auto;
}
.footer-bottom .information span{
    display: inline-block;
    float: none;
}
.footer-bottom .information .sep{
    margin: 0 17px 0 19px;
}
.footer-bottom .information a{
    padding: 0 4px;
    color: #8c8c8c;
    font-size: 12px;
    text-decoration: none;
}
.footer-bottom .information a:hover{
    color: #f48570;
    text-decoration: underline;
}
.footer-bottom .icon{
    padding: 10px 0 0 280px;
    margin: 0 auto;
    height: 87px;
}
.footer-bottom .icon .validator{
    float: left;
    display: inline;
    padding: 15px 25px 15px;
    width: 185px;
    height: 87px;
}
.footer-bottom .icon .log3{
    width:232px;
}